package cn.juque.datapipeline.api.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>GroupExecuteStatusEnum</li>
 * </ul>
 * @date 2023-04-03 18:05:47
 **/
public enum GroupExecuteStatusEnum {

    /**
     * enum
     */
    DISABLED(-2, "禁用"),
    FAIL(-1, "执行失败"),
    WAIT(1, "待执行"),
    ING(2, "执行中"),
    END(3, "执行完成"),
    ;
    private final Integer code;

    private final String label;

    GroupExecuteStatusEnum(Integer code, String label) {
        this.code = code;
        this.label = label;
    }

    public Integer getCode() {
        return code;
    }
}
